const mongoose = require("./db");

// 创建集合对象
const orderSchema = new mongoose.Schema({
    orderId:{type:String},
    userId:{type:String},
    proData:{type:Array},
    state:{type:Number},
    time:{type:String},
    address:{type:Array}
})

module.exports = mongoose.model("orders", orderSchema);
